package com.jeesite.modules.common.dao;

import com.jeesite.common.mybatis.annotation.MyBatisDao;
import com.jeesite.modules.common.entity.SysBasicUser;

import java.util.List;

/**
 * @description:
 * @author: ciye
 * @date: 2022/3/7 19:37
 */
@MyBatisDao
public interface SysBasicDao {
    /**
     * 通过机构和角色获取用户数据
     * @param officeCode
     * @param roleCode
     * @return
     */
    List<SysBasicUser> getUserByOfficeAndRole(String officeCode, String roleCode);
}
